﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace Twodi.Implemented
{
    public class MouseComponent : Textured
    {
        public MouseComponent(Texture2D texture, Game game)
            : base(texture, game)
        {

        }

        public override void Update(GameTime gameTime)
        {
            this.Position = Input.GlobalInput.Mouse.Position;
            base.Update(gameTime);
        }
    }
}
